package cn.kuang.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 徽州大都督
 * @date 2020/7/27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tab_route")
public class Route {

    @TableId(value = "rid")
    private Integer rid;

    private String rname;
    private Double price;
    private String routeIntroduce;
    private Character rflag;
    private String rdate;
    private Character isThemeTour;
    private Integer count;
    private Integer cid;
    private String rimage;
    private Integer sid;
    private String sourceId;

    @TableField(exist = false)
    private Category category;
    @TableField(exist = false)
    private Long total;
    @TableField(exist = false)
    private List<RouteImg> routeImgs;

    @TableField(exist = false)
    private Seller seller;

    /*@TableField(exist = false)
    private Integer collection;*/
}
